using UnityEditor;
using UnityEngine.UIElements;

namespace InternalEditor
{
    public static class EditorInternalApi
    {
        public static void ApplyWireMaterial()
        {
            HandleUtility.ApplyWireMaterial();
        }

        public static void AddStyleSheetPathEx(this VisualElement self, string sheetPath)
        {
            self.AddStyleSheetPath(sheetPath);
        }

        public static bool SendEventToIMGUIEx(this IMGUIContainer self, EventBase evt, bool canAffectFocus = true, bool verifyBounds = true)
        {
            return self.SendEventToIMGUI(evt, canAffectFocus, verifyBounds);
        }
    }
}